package com.zjm.principle.srp;

public class Main {
    public static void main(String[] args) {
        UserService service = new UserService();

        service.registerUser("test@example.com");  // 正常注册
        service.registerUser("invalid-email");     // 失败
    }
}
